body {
    margin: 0;
}
.container{
    width: 1024px;
    height: 600px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px #666;
    overflow: hidden;
}
.tool-bar{
    display:flex;
    width: 1024px;
    height: 80px;
    margin:10px auto;
}
.tool-bar div{
    width: 80px;
    height: 80px;
    border: 1px solid #ccc;
    box-sizing:border-box;
    cursor: pointer;
}
.tool-bar .color.block{
    background-color: black;
}
.tool-bar .color.red{
    background-color: red;
}

.tool-bar .color.green{
    background-color: green;
}
.tool-bar .color.blue{
    background-color: blue;
}
.tool-bar .line span {
    display:block;
    margin:0 auto;
    background-color: #000;
    border-radius: 50%;

}
.tool-bar .line.line-4 span{
    width: 4px;
    height: 4px;
    margin-top: 38px;
}
.tool-bar .line.line-8 span{
    width: 8px;
    height: 8px;
    margin-top: 37px;
}
.tool-bar .line.line-12 span{
    width: 12px;
    height: 12px;
    margin-top: 36px;
}
.tool-bar .remove{
   line-height: 80px;
    text-align: center;
    font-size:25px;
}